DXL command line switches

Just curious about command line switches running DXL. I see 3 switches, -batch (-b), -cli (-C), and -dxl (-D).

-batch runs DOORS in batch mode, without the user interface started, executes the DXL (that must surely be sensitive to the fact that its running in batch mode), then exits DOORS.

-cli runs before the splash screen.

-dxl runs after the splash screen.

What does 'cli' stand for? What's the real difference between -cli and -dxl, why would you run one over the other? Does -batch DXL run after -dxl DXL? Anything else I want to know?

>Louie
llandale - Thu Mar 19 14:37:47 EDT 2009

Re: DXL command line switches
kbmurphy - Thu Mar 19 16:40:49 EDT 2009

I am just completely guessing here. cli stands for "Command Line Interface" or "client".

I'm guessing "cli" is used for really important bug fixes by Telelogic--maybe a chance to override startup.dxl or something else like that.

I ran a quick test using this as my option

doors.exe -cli "int i=5;print i"

On DOORS 9.1, the print statement causes a Window to appear that is like an "Ack" window, but it has "DOORS Report" as its title.

Then, choosing i as my variable name wasn't good, because I got an error message about i already being declared in this scope while another file was being loaded.

Very interesting.